import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../services/http-client.service';

@Injectable()
export class OnetooneCheckService {

    constructor(public httpClient: HttpClientService) { }
    // 一对一审核列表
    getCheckList(getBody) {
        return this.httpClient.get('/pms/v1/oneOnOneFundInfo/listAuditPage', getBody);
    }
    // 审核通过
    checkPass(putBody) {
        return this.httpClient.put('/pms/v1/oneOnOneFundInfo/auditStatus', putBody);
    }
    // 审核不通过
    checkNotPass(putBody) {
        return this.httpClient.put('/pms/v1/oneOnOneFundInfo/auditStatus', putBody);
    }
    //修改审核主表数据查询
    getCheckMainList(getBody) {
        return this.httpClient.get('/pms/v1/common/fundAudit/listAuditHostPage', getBody);
    }
    // 查询单个产品基础信息
    otoGetSingleProduct(nFundNo) {
        return this.httpClient.get('/pms/v1/oneOnOneFundInfo/basicInfo/' + nFundNo);
    }
    // 编辑产品基础信息
    otoEditProduct(putBody) {
        return this.httpClient.put('/pms/v1/oneOnOneFundInfo/basicInfo', putBody);
    }
    //修改审核明细表数据查询
    getCheckDetailList(getBody) {
        return this.httpClient.get('/pms/v1/common/fundAudit/listAuditPage', getBody);
    }
}
